package environment;

import progeny.*;

public class World {
	public static void main(String[] args){
		
		Gene A = new Gene(new Trait("A", true));
		Gene a = new Gene(new Trait("A", false));
		Gene B = new Gene(new Trait("B", true));
		Gene b = new Gene(new Trait("B", false));
		Gene C = new Gene(new Trait("C", true));
		Gene c = new Gene(new Trait("C", false));
		Gene D = new Gene(new Trait("D", true));
		Gene d = new Gene(new Trait("D", false));
		
		Allele[] aa = {new Allele(A,a), new Allele(B,b), new Allele(C,c), new Allele(D,d)};
		
		Chromosome[] chroms = {new Chromosome(aa)};
		
		Organism bob = new Organism(chroms);
		Organism alice = new Organism(chroms);
		
		System.out.println(bob.getPhenotypes());
		System.out.println(alice);
		
		if (bob.canFuck(alice)){
			Organism o = bob.fuck(alice);
			System.out.println(o.getPhenotypes());
		}
		
		
	}
}
